﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace GSLMS.Services.Interface
{
    public interface IBase<T>
    {
        [OperationContract]
        List<T> GetList(T t);

        [OperationContract]
        T GetByID(long id);

        [OperationContract]
        bool Add(T t);

        [OperationContract]
        bool Update(T t);

        [OperationContract]
        bool Delete(long ID);

    }
}
